<!-- 智能设备 -->
<template>
    <BaseContainer>
      <aplid-base-crud ref="crud" class="w-100" v-bind="baseConfig" :paramsObj = "{equipmentNo:nowRowData.equipmentNo}">
        <template #handleDialog="{row}">
          <Handle :nowRowData="row" @refresh="handleRefresh"></Handle>
        </template>
        <template #detailDialog="{row}">
          <Detail :nowRowData="row" @refresh="handleRefresh"></Detail>
        </template>
      </aplid-base-crud>
    </BaseContainer>
  </template>
  
  <script setup>
  import {baseConfig} from './config'
  import Handle from './handle.vue'
  import Detail from './detail.vue'
  let props = defineProps({
    nowRowData:{
      type:Object,
      default:()=>({})
    }
  })
  const crud = ref()
const handleRefresh = () => {
  nextTick(() => {
    crud.value.refreshChange()
  })
}
  </script>
  
  <style lang="scss" scoped></style>
  